<!DOCTYPE html>
<html lang="<?php echo Yii::app()->language; ?>">
<head>
<meta name="language" content="<?php echo Yii::app()->language; ?>" />
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="keywords" content="yamii, business" />
<meta name="description" content="Yamii for Business - Wake up your customer!" />
<link rel="shortcut icon" href="<?php echo Yii::app()->request->baseUrl; ?>/images/favicon.ico" type="image/x-icon" />
<link type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/custom-theme/jquery-ui-1.10.3.custom.min.css?v=<?php echo Yii::app()->params['version']; ?>" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css?v=<?php echo Yii::app()->params['version']; ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/desktop.css?v=<?php echo Yii::app()->params['version']; ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css?v=<?php echo Yii::app()->params['version']; ?>" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700|Open+Sans' rel='stylesheet' type='text/css' />
<link type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/js/labs/jquery.fancybox/jquery.fancybox-1.3.4.css" rel="stylesheet" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>
<body>

<div id="message_tips"></div>

<div id="wrapper">

<?php
switch ($this->action->id) {
	case 'login':
	case 'signup':
	case 'register':
		BHelper::HtmlHeaderLogin();
		break;
	case 'error':
		BHelper::HtmlHeaderError($this);
		break;
	default:
		BHelper::HtmlHeader($this);
		break;
}
?>

	<div id="content"><?php echo $content; ?></div>

<?php
BHelper::HtmlFooter();
BHelper::HtmlScripts();
?>

</div>
</body>
</html>